export const parseIconValue = stringValue => {
    if (!stringValue) {
        return null;
    }
    const splitValue = stringValue.split('|');
    return {
        iconName: splitValue[0],
        color: splitValue.slice(1)?.join('|')
    };
};

export const combineIconValue = (iconName, iconColor) => [iconName, iconColor].join('|');
